<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
</head>
<body>
<a href="http://www.g.cn" id="a">www.g.cn</a>
<script>
    alert(document.getElementById('a').getAttribute('tabindex'));
</script>
</body>
</html>